package ord.csmz.xg2333.Example01;

public class Example01 {
    public static void main(String[] args){
        Shape shape1 = new Shape("三角形","红色");
        Shape shape2 = new Shape("三角形","红色");
        System.out.println("两个图形是否完全相同："+shape1.equals(shape2));
        System.out.println(shape1);
        System.out.println(shape2);
    }
}
